import java.math.BigInteger;
import java.util.Scanner;

//大数加法
public class test1 {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        String s = scanner.next();
        String t = scanner.next();
        String sum = solve(s,t);
        System.out.println(sum);
    }
    public static String solve (String s, String t) {
        BigInteger bigInteger1 = new BigInteger(s);
        BigInteger bigInteger2 = new BigInteger(t);
        return bigInteger1.add(bigInteger2).toString();
    }

}
